package com.gec.system.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gec.model.system.ITripService;
import com.gec.model.system.ITripServiceOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gec.model.system.ITripSightsOrder;
import com.gec.model.vo.ITripServiceOrderVo;
import com.gec.model.vo.ITripServiceVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 用户套餐订单表 Mapper 接口
 * </p>
 *
 * @author dafei
 * @since 2024-01-22
 */
public interface ITripServiceOrderMapper extends BaseMapper<ITripServiceOrder> {
    IPage<ITripServiceOrder> selectPage(IPage<ITripServiceOrder> page1,
                                   @Param("vo") ITripServiceOrderVo iTripServiceOrderVo,
                                   @Param("ew") LambdaQueryWrapper lambdaQueryWrapper
    );

    List<ITripServiceOrder> getAllByUserId(@Param("userId") Long id);
}
